﻿using System.Collections.Generic;
//
namespace PerceptiveMCAPI.Types
{
   public class listUpdateMemberParms
   {
      public string apikey { get; set; }
      public string id { get; set; }
      public string email_address { get; set; }
      public Dictionary<string, object> merge_vars { get; set; }
      public EnumValues.emailType email_type { get; set; }
      public bool replace_interests { get; set; }
      // --------------------------------------------------
      public listUpdateMemberParms ()
      {
         this.apikey = MCAPISettings.default_apikey;
         this.merge_vars = new Dictionary<string, object>();
         this.email_type = EnumValues.emailType.NotSpecified;
         this.replace_interests = MCAPISettings.default_listSubscribe_replace_interests;
      }
      public listUpdateMemberParms ( string id, string email_address, Dictionary<string, object> merge_vars )
      {
         this.apikey = MCAPISettings.default_apikey;
         this.id = id;
         this.email_address = email_address;
         this.merge_vars = merge_vars;
         this.email_type = EnumValues.emailType.NotSpecified;
         this.replace_interests = MCAPISettings.default_listSubscribe_replace_interests;
      }
      public listUpdateMemberParms ( string id, string email_address, Dictionary<string, object> merge_vars,
         EnumValues.emailType email_type, bool replace_interests )
      {
         this.apikey = MCAPISettings.default_apikey;
         this.id = id;
         this.email_address = email_address;
         this.merge_vars = merge_vars;
         this.email_type = email_type;
         this.replace_interests = replace_interests;
      }
      public listUpdateMemberParms ( string apikey, string id, string email_address, Dictionary<string, object> merge_vars )
      {
         this.apikey = apikey;
         this.id = id;
         this.email_address = email_address;
         this.merge_vars = merge_vars;
         this.email_type = EnumValues.emailType.NotSpecified;
         this.replace_interests = MCAPISettings.default_listSubscribe_replace_interests;
      }
      public listUpdateMemberParms ( string apikey, string id, string email_address, Dictionary<string, object> merge_vars,
         EnumValues.emailType email_type, bool replace_interests )
      {
         this.apikey = apikey;
         this.id = id;
         this.email_address = email_address;
         this.merge_vars = merge_vars;
         this.email_type = email_type;
         this.replace_interests = replace_interests;
      }
   }
}
